wayland: Add some more debug spew
authorMatthias Clasen <mclasen@redhat.com>
Thu, 25 Aug 2016 04:13:13 +0000 (00:13 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 25 Aug 2016 04:13:13 +0000 (00:13 -0400)
gdk/wayland/gdkselection-wayland.c

index 80ff0475dd00156094b0917c620cbc57a7dbe817..b31af85139dbdf8551e21e46112d2682a75d4fc0 100644 (file)
@@ -381,6 +381,9 @@ data_offer_offer (void                 *data,
   if (!info || g_list_find (info->targets, atom))
     return;
 
+  GDK_NOTE (EVENTS,
+            g_message ("data offer offer, offer %p, type = %s", wl_data_offer, type));
+
   info->targets = g_list_prepend (info->targets, atom);
 }
 
@@ -416,6 +419,9 @@ data_offer_source_actions (void                 *data,
 
   drop_context->actions = _wl_to_gdk_actions (source_actions);
 
+  GDK_NOTE (EVENTS,
+            g_message ("data offer source actions, offer %p, actions %d", wl_data_offer, source_actions));
+
   if (gdk_drag_context_get_dest_window (drop_context))
     _gdk_wayland_drag_context_emit_event (drop_context, GDK_DRAG_MOTION,
                                           GDK_CURRENT_TIME);
@@ -463,6 +469,9 @@ primary_offer_offer (void                               *data,
   if (!info || g_list_find (info->targets, atom))
     return;
 
+  GDK_NOTE (EVENTS,
+            g_message ("primary offer offer, offer %p, type = %s", gtk_offer, type));
+
   info->targets = g_list_prepend (info->targets, atom);
 }